package com.lzx.mall_tiny01.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2021/04/26
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UmsPermission {
    private Long id;

    @ApiModelProperty(value="父级权限id")
    private Long pid;

    @ApiModelProperty(value="名称")
    private String name;

    @ApiModelProperty(value="权限值")
    private String value;

    @ApiModelProperty(value="图标")
    private String icon;

    @ApiModelProperty(value="权限类型：0->目录；1->菜单；2->按钮（接口绑定权限）")
    private Integer type;

    @ApiModelProperty(value="前端资源路径")
    private String uri;

    @ApiModelProperty(value="启用状态；0->禁用；1->启用")
    private Integer status;

    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @ApiModelProperty(value="排序")
    private Integer sort;
}